package com.example.administrator.yunniuusedcar.model.mode_benn;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/12/28.
 */

public class RanCarXiangQingBean implements Serializable{
    /**
     * code : 1
     * data : {"list":{"name":"41","integral_range":"52351","member_range":"512","market_price":"5123.00","car_id":24,"brand_id":1,"logo":"http://carshop.cloudabull.com/static/Uploads/car/2017-12-16/5a348a0d1920e.jpg","detail":"<p>5412委屈额&nbsp;<\/p>","member_money":"0.00","num":3},"spec":[{"spec_value":[{"name":"aa","value":"2"}],"spec_type":"安全装备"},{"spec_value":[{"name":"ab121","value":"2"}],"spec_type":"底盘转向"}],"member":{"code":0,"integral_grade":"","reg_grade":"","integral_price":"","member_price":""}}
     */

    public int code;
    public Data data;

    public static class Data {
        /**
         * list : {"name":"41","integral_range":"52351","member_range":"512","market_price":"5123.00","car_id":24,"brand_id":1,"logo":"http://carshop.cloudabull.com/static/Uploads/car/2017-12-16/5a348a0d1920e.jpg","detail":"<p>5412委屈额&nbsp;<\/p>","member_money":"0.00","num":3}
         * spec : [{"spec_value":[{"name":"aa","value":"2"}],"spec_type":"安全装备"},{"spec_value":[{"name":"ab121","value":"2"}],"spec_type":"底盘转向"}]
         * member : {"code":0,"integral_grade":"","reg_grade":"","integral_price":"","member_price":""}
         */

        public List list;
        public Member member;
        public java.util.List<Spec> spec;

        public static class List {
            /**
             * name : 41
             * integral_range : 52351
             * member_range : 512
             * market_price : 5123.00
             * car_id : 24
             * brand_id : 1
             * logo : http://carshop.cloudabull.com/static/Uploads/car/2017-12-16/5a348a0d1920e.jpg
             * detail : <p>5412委屈额&nbsp;</p>
             * member_money : 0.00
             * num : 3
             */

            public String name;
            public String integral_range;
            public String member_range;
            public String market_price;
            public int car_id;
            public int brand_id;
            public String logo;
            public String detail;
            public String member_money;
            public int num;
        }

        public static class Member {
            /**
             * code : 0
             * integral_grade :
             * reg_grade :
             * integral_price :
             * member_price :
             */

            public int code;
            public String integral_grade;
            public String reg_grade;
            public String integral_price;
            public String member_price;
        }

        public static class Spec {
            /**
             * spec_value : [{"name":"aa","value":"2"}]
             * spec_type : 安全装备
             */

            public String spec_type;
            public java.util.List<SpecValue> spec_value;

            public static class SpecValue {
                /**
                 * name : aa
                 * value : 2
                 */

                public String name;
                public String value;
            }
        }
    }


//    /**   随机汽车 详情页bean
//     * code : 1
//     * data : {"list":{"num":0,"logo":"http://carshop.cloudabull.com"},"member":{"code":0,"integral_grade":"","reg_grade":"","integral_price":"","member_price":""}}
//     */
//
//    public int code;
//    public Data data;
//
//    public static class Data {
//        /**
//         * list : {"num":0,"logo":"http://carshop.cloudabull.com"}
//         * member : {"code":0,"integral_grade":"","reg_grade":"","integral_price":"","member_price":""}
//         */
//
//        public List list;
//        public Member member;
//
//        public static class List {
//            /**
//             * num : 0
//             * logo : http://carshop.cloudabull.com
//             */
//
//            public int num;
//            public String logo;
//        }
//
//        public static class Member {
//            /**
//             * code : 0
//             * integral_grade :
//             * reg_grade :
//             * integral_price :
//             * member_price :
//             */
//
//            public int code;
//            public String integral_grade;
//            public String reg_grade;
//            public String integral_price;
//            public String member_price;
//        }
//    }
}
